from model import Base
from sqlalchemy import Column, Integer, String

class User(Base):  
    __tablename__ = 'users'  
  
    id = Column(Integer, primary_key=True, autoincrement=True)  
    username = Column(String(255), nullable=False, unique=True)  
    password = Column(String(255), nullable=False)  # 注意：密码通常应该存储为哈希值  
    email = Column(String(255), nullable=False, unique=True)